@extends('layouts.app')

@section('title',$user->name.'的个人主页')


@section('content')
    <div class="row">
        <div class="col-md-3">
            <div class="card">
                <div class="card-header bg-transparent border-0">
                    <img src="{{asset('images/logo.png')}}" alt="avatar"  class="img-thumbnail border-0 rounded">
                </div>
                <div class="card-body">
                    <hr>
                    <div class="username text-center text-muted">
                        <h5>用户名</h5>
                        <h4 class="text-success">{{$user->name}}</h4>
                    </div>
                    <hr>
                    <div class="introduction text-center text-muted">
                        <h5>个人简介</h5>
                        <div class="text-success">{{$user->introduction}}</div>
                    </div>
                    <hr>
                    <div class="introduction text-center text-muted">
                        <h5>注册时间</h5>
                        <div class="text-success">
                            {{$user->created_at->diffForHumans()}}
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="col-md-9">
            <div class="card">
                <div class="card-body">
                    <h1>{{$user->name.'--'.$user->email}}</h1>
                </div>
            </div>

            <div class="card mt-3">
                <div class="card-body">
                    <ul class="nav nav-tabs">
                        <li class="nav-item">
                            <a class="nav-link active" href="#">Active</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="#">Link</a>
                        </li>
                    </ul>

                    <div class="mt-4">暂无信息</div>
                </div>
            </div>
        </div>
    </div>
@stop
